Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

636141 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/74 - Random Anime Profile

style.css cody/swapnilsparsh/30DaysOfJavaScript/74 - Random Anime Profile/style.css
120 Views
0 Comments
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap");

* {
box-sizing: border-box;
}

body {
font-family: "Poppins", sans-serif;
Random Anime Profile cody/swapnilsparsh/30DaysOfJavaScript/74 - Random Anime Profile/index.html
321 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Random Anime profile</title>
<link rel="stylesheet" href="style.css" />
script.js cody/swapnilsparsh/30DaysOfJavaScript/74 - Random Anime Profile/script.js
190 Views
0 Comments
const getBTN = document.getElementById("btn");
const animeBox = document.querySelector(".anime-box");
const anime = document.querySelector(".anime");
const animeName = document.querySelector(".hero-name");
const animeLoader = document.querySelector(".anime-loader");
const saveBTN = document.getElementById("save");

const api_url = `https://api.catboys.com/img`;